<?php

namespace app\admin\validate\user;

use think\Validate;

class UserGoods extends Validate
{
    /**
     * 验证规则
     */
    protected $rule = [
        'blogger_rate'   => 'integer|between:0,100',
    ];
    /**
     * 提示消息
     */
    protected $message = [
    ];
    /**
     * 验证场景
     */
    protected $scene = [
        'add'  => ['blogger_rate'],
        'edit' => ['blogger_rate'],
    ];
    
}
